<?php
//电话类
class Phone extends Goods {
    public function getName() {
        echo $this->name,'<br>';
    }
}

